public class Demo7 {
//    public static void main(String[] args) throws InterruptedException {
//        System.out.println(System.currentTimeMillis());
//        Thread.sleep(2000);
//        System.out.println(System.currentTimeMillis());
//    }

    public static void main(String[] args) {
        Thread t = Thread.currentThread();
        System.out.println(t.getName());
    }
}
